package com.linln.modules.ticket.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.linln.modules.ticket.domain.TicketLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @Project: timo
* @Package com.linln.modeles.ticket.service
* @Descriptio
/**
* @Project: timo
* @Package com.linln.modeles.ticket.service
* @Description: TODO
* @author : pengliang
* @date Date : 2020年11月23日 17:21
* @version V1.0
*/

public interface TicketLogService extends IService<TicketLog>{
    //获取核销记录
    TicketLog getOne(QueryWrapper<TicketLog> queryWrapper);
    //通过日期获取核销记录
    Long getSameMonthVerificationCount(String shopId,String date);
    //添加核销记录
    boolean addTicketLog(TicketLog ticketLog);
    //获取当月的核销记录
    List<TicketLog> getCurrentMonthTicketLog(String userId);
}
